[INFO] fetching crate amqpr-api 0.4.1...
[INFO] building amqpr-api-0.4.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate amqpr-api 0.4.1 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate amqpr-api 0.4.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate amqpr-api 0.4.1
[INFO] finished tweaking crates.io crate amqpr-api 0.4.1
[INFO] tweaked toml for crates.io crate amqpr-api 0.4.1 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4669451f5882798d0519432691bbb145abc24730e42f939de47fe7f22915d348
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4669451f5882798d0519432691bbb145abc24730e42f939de47fe7f22915d348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4669451f5882798d0519432691bbb145abc24730e42f939de47fe7f22915d348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4669451f5882798d0519432691bbb145abc24730e42f939de47fe7f22915d348", kill_on_drop: false }`
[INFO] [stdout] 4669451f5882798d0519432691bbb145abc24730e42f939de47fe7f22915d348
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 404e39ea2df6b7647648477632fac62ea7553d14ad8c29bbb3b2d89caf2f70ee
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "404e39ea2df6b7647648477632fac62ea7553d14ad8c29bbb3b2d89caf2f70ee", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling amqpr-codec v0.3.2
[INFO] [stderr]    Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn reply_to_secure<'a>(&mut self, &'a SecureMethod) -> SecureOkMethod;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a SecureMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn reply_to_tune<'a>(&mut self, &'a TuneMethod) -> TuneOkMethod;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a TuneMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn inspect_open_ok<'a>(&mut self, &'a OpenOkMethod);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a OpenOkMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 | type RawSocket = tokio_io::codec::Framed<tokio_core::net::TcpStream, amqpr_codec::Codec>;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     types {
[INFO] [stdout] 3  | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] 4  | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/handshake.rs:188:62
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec))))
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     types {
[INFO] [stdout] 3  | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] 4  | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.91s
[INFO] running `Command { std: "docker" "inspect" "404e39ea2df6b7647648477632fac62ea7553d14ad8c29bbb3b2d89caf2f70ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "404e39ea2df6b7647648477632fac62ea7553d14ad8c29bbb3b2d89caf2f70ee", kill_on_drop: false }`
[INFO] [stdout] 404e39ea2df6b7647648477632fac62ea7553d14ad8c29bbb3b2d89caf2f70ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2989e4b23aca8dfca0de8410cf0248f3493783122ee44d78dd126054514ce3bf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2989e4b23aca8dfca0de8410cf0248f3493783122ee44d78dd126054514ce3bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling antidote v1.0.0
[INFO] [stderr]    Compiling crossbeam v0.2.12
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn reply_to_secure<'a>(&mut self, &'a SecureMethod) -> SecureOkMethod;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a SecureMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn reply_to_tune<'a>(&mut self, &'a TuneMethod) -> TuneOkMethod;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a TuneMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn inspect_open_ok<'a>(&mut self, &'a OpenOkMethod);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a OpenOkMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 | type RawSocket = tokio_io::codec::Framed<tokio_core::net::TcpStream, amqpr_codec::Codec>;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     types {
[INFO] [stdout] 3  | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] 4  | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/handshake.rs:188:62
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec))))
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     types {
[INFO] [stdout] 3  | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] 4  | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling serde_yaml v0.7.5
[INFO] [stderr]    Compiling flate2 v0.2.20
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling serde-value v0.5.3
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling chrono v0.3.0
[INFO] [stderr]    Compiling log4rs v0.7.0
[INFO] [stderr]    Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `amqpr_api::receive_delivered`
[INFO] [stdout]   --> tests/consume.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 declare_queue, start_consume, receive_delivered};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ no `receive_delivered` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn reply_to_secure<'a>(&mut self, &'a SecureMethod) -> SecureOkMethod;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a SecureMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn reply_to_tune<'a>(&mut self, &'a TuneMethod) -> TuneOkMethod;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a TuneMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> src/handshake.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn inspect_open_ok<'a>(&mut self, &'a OpenOkMethod);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a OpenOkMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 | type RawSocket = tokio_io::codec::Framed<tokio_core::net::TcpStream, amqpr_codec::Codec>;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     types {
[INFO] [stdout] 3  | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] 4  | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/bind_queue.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                                         ^^^^^^ expected `u16`, found struct `AmqpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:37:28
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:37:28
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/bind_queue.rs:35:18: 35:36]>, Handshaking<SimpleHandshaker>, [closure@tests/bind_queue.rs:36:19: 36:63]>, ChannelOpened<u16>, [closure@tests/bind_queue.rs:37:19: 37:66]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |           .and_then(|socket| {
[INFO] [stdout]    |            ^^^^^^^^ method cannot be called on `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/bind_queue.rs:35:18: 35:36]>, Handshaking<SimpleHandshaker>, [closure@tests/bind_queue.rs:36:19: 36:63]>, ChannelOpened<u16>, [closure@tests/bind_queue.rs:37:19: 37:66]>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |   ---------------------------------------------------------- doesn't satisfy `_: futures::Future`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / pub enum ChannelOpened<S>
[INFO] [stdout] 32 | | where
[INFO] [stdout] 33 | |     S: Sink,
[INFO] [stdout] 34 | | {
[INFO] [stdout] 35 | |     Sending(Send<S>),
[INFO] [stdout] 36 | |     Receiving(Should<S>),
[INFO] [stdout] 37 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]    |   doesn't satisfy `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/bind_queue.rs:35:18: 35:36]>, Handshaking<SimpleHandshaker>, [closure@tests/bind_queue.rs:36:19: 36:63]>, ChannelOpened<u16>, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/bind_queue.rs:35:18: 35:36]>, Handshaking<SimpleHandshaker>, [closure@tests/bind_queue.rs:36:19: 36:63]>, ChannelOpened<u16>, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/bind_queue.rs:35:18: 35:36]>, Handshaking<SimpleHandshaker>, [closure@tests/bind_queue.rs:36:19: 36:63]>, ChannelOpened<u16>, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/bind_queue.rs:35:18: 35:36]>, Handshaking<SimpleHandshaker>, [closure@tests/bind_queue.rs:36:19: 36:63]>, ChannelOpened<u16>, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/bind_queue.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `declare_exchange`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/bind_queue.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `is_passive`, `is_durable`, `is_exclusive`, `is_auto_delete`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `declare_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `declare_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `QueueDeclared`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `QueueDeclared`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `map` exists for enum `QueueDeclared<u16, _>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |               declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |                                                               ^^^ method cannot be called on `QueueDeclared<u16, _>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / pub enum QueueDeclared<S, E>
[INFO] [stdout] 48 | | where
[INFO] [stdout] 49 | |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout] 50 | |     E: From<Error>,
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     Receiveing(Should<S>),
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `QueueDeclared<u16, _>: Iterator`
[INFO] [stdout]    |   doesn't satisfy `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<u16 as futures::Stream>::Item = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Stream>::Error = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkItem = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkError = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: futures::Sink`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: futures::Stream`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `QueueDeclared<u16, _>: Iterator`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `BindQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/bind_queue.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `BindQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `queue`, `exchange`, `routing_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             bind_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/bind.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `bind_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             bind_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amqpr-api`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/declare_queue.rs:34:41
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                                         ^^^^^^ expected `u16`, found struct `AmqpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:34:28
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:34:28
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_queue.rs:32:18: 32:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_queue.rs:33:19: 33:63]>, ChannelOpened<u16>, [closure@tests/declare_queue.rs:34:19: 34:66]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |           .and_then(|socket| {
[INFO] [stdout]    |            ^^^^^^^^ method cannot be called on `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_queue.rs:32:18: 32:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_queue.rs:33:19: 33:63]>, ChannelOpened<u16>, [closure@tests/declare_queue.rs:34:19: 34:66]>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |   ---------------------------------------------------------- doesn't satisfy `_: futures::Future`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / pub enum ChannelOpened<S>
[INFO] [stdout] 32 | | where
[INFO] [stdout] 33 | |     S: Sink,
[INFO] [stdout] 34 | | {
[INFO] [stdout] 35 | |     Sending(Send<S>),
[INFO] [stdout] 36 | |     Receiving(Should<S>),
[INFO] [stdout] 37 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]    |   doesn't satisfy `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_queue.rs:32:18: 32:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_queue.rs:33:19: 33:63]>, ChannelOpened<u16>, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_queue.rs:32:18: 32:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_queue.rs:33:19: 33:63]>, ChannelOpened<u16>, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_queue.rs:32:18: 32:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_queue.rs:33:19: 33:63]>, ChannelOpened<u16>, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_queue.rs:32:18: 32:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_queue.rs:33:19: 33:63]>, ChannelOpened<u16>, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/declare_queue.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `is_passive`, `is_durable`, `is_exclusive`, `is_auto_delete`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             declare_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `declare_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             declare_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `declare_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             declare_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `QueueDeclared`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             declare_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `QueueDeclared`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/handshake.rs:188:62
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec))))
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     types {
[INFO] [stdout] 3  | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] 4  | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/declare_exchange.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                                         ^^^^^^ expected `u16`, found struct `AmqpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_exchange.rs:33:18: 33:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_exchange.rs:34:19: 34:63]>, ChannelOpened<u16>, [closure@tests/declare_exchange.rs:35:19: 35:66]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |           .and_then(|socket| {
[INFO] [stdout]    |            ^^^^^^^^ method cannot be called on `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_exchange.rs:33:18: 33:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_exchange.rs:34:19: 34:63]>, ChannelOpened<u16>, [closure@tests/declare_exchange.rs:35:19: 35:66]>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |   ---------------------------------------------------------- doesn't satisfy `_: futures::Future`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / pub enum ChannelOpened<S>
[INFO] [stdout] 32 | | where
[INFO] [stdout] 33 | |     S: Sink,
[INFO] [stdout] 34 | | {
[INFO] [stdout] 35 | |     Sending(Send<S>),
[INFO] [stdout] 36 | |     Receiving(Should<S>),
[INFO] [stdout] 37 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]    |   doesn't satisfy `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_exchange.rs:33:18: 33:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_exchange.rs:34:19: 34:63]>, ChannelOpened<u16>, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_exchange.rs:33:18: 33:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_exchange.rs:34:19: 34:63]>, ChannelOpened<u16>, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_exchange.rs:33:18: 33:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_exchange.rs:34:19: 34:63]>, ChannelOpened<u16>, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/declare_exchange.rs:33:18: 33:36]>, Handshaking<SimpleHandshaker>, [closure@tests/declare_exchange.rs:34:19: 34:63]>, ChannelOpened<u16>, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/publish.rs:38:41
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                                         ^^^^^^ expected `u16`, found struct `AmqpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/declare_exchange.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `declare_exchange`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/publish.rs:36:18: 36:36]>, Handshaking<SimpleHandshaker>, [closure@tests/publish.rs:37:19: 37:63]>, ChannelOpened<u16>, [closure@tests/publish.rs:38:19: 38:66]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/publish.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |           .and_then(|socket| {
[INFO] [stdout]    |            ^^^^^^^^ method cannot be called on `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/publish.rs:36:18: 36:36]>, Handshaking<SimpleHandshaker>, [closure@tests/publish.rs:37:19: 37:63]>, ChannelOpened<u16>, [closure@tests/publish.rs:38:19: 38:66]>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |   ---------------------------------------------------------- doesn't satisfy `_: futures::Future`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / pub enum ChannelOpened<S>
[INFO] [stdout] 32 | | where
[INFO] [stdout] 33 | |     S: Sink,
[INFO] [stdout] 34 | | {
[INFO] [stdout] 35 | |     Sending(Send<S>),
[INFO] [stdout] 36 | |     Receiving(Should<S>),
[INFO] [stdout] 37 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]    |   doesn't satisfy `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/publish.rs:36:18: 36:36]>, Handshaking<SimpleHandshaker>, [closure@tests/publish.rs:37:19: 37:63]>, ChannelOpened<u16>, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/publish.rs:36:18: 36:36]>, Handshaking<SimpleHandshaker>, [closure@tests/publish.rs:37:19: 37:63]>, ChannelOpened<u16>, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/publish.rs:36:18: 36:36]>, Handshaking<SimpleHandshaker>, [closure@tests/publish.rs:37:19: 37:63]>, ChannelOpened<u16>, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/publish.rs:36:18: 36:36]>, Handshaking<SimpleHandshaker>, [closure@tests/publish.rs:37:19: 37:63]>, ChannelOpened<u16>, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/publish.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `declare_exchange`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/publish.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             publish(socket, LOCAL_CHANNEL_ID, bytes, option)
[INFO] [stdout]    |             ^^^^^^^ ------  ----------------  -----  ------ supplied 4 arguments
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/basic/publish.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn publish<S>(channel_id: u16, socket: S, item: PublishItem) -> Published<S>
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/consume.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                                         ^^^^^^ expected `u16`, found struct `AmqpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |          ^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ChannelOpened<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/consume.rs:38:18: 38:36]>, Handshaking<SimpleHandshaker>, [closure@tests/consume.rs:39:19: 39:63]>, ChannelOpened<u16>, [closure@tests/consume.rs:40:19: 40:66]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/consume.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |           .and_then(|socket| {
[INFO] [stdout]    |            ^^^^^^^^ method cannot be called on `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/consume.rs:38:18: 38:36]>, Handshaking<SimpleHandshaker>, [closure@tests/consume.rs:39:19: 39:63]>, ChannelOpened<u16>, [closure@tests/consume.rs:40:19: 40:66]>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |   ---------------------------------------------------------- doesn't satisfy `_: futures::Future`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / pub enum ChannelOpened<S>
[INFO] [stdout] 32 | | where
[INFO] [stdout] 33 | |     S: Sink,
[INFO] [stdout] 34 | | {
[INFO] [stdout] 35 | |     Sending(Send<S>),
[INFO] [stdout] 36 | |     Receiving(Should<S>),
[INFO] [stdout] 37 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]    |   doesn't satisfy `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/consume.rs:38:18: 38:36]>, Handshaking<SimpleHandshaker>, [closure@tests/consume.rs:39:19: 39:63]>, ChannelOpened<u16>, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/consume.rs:38:18: 38:36]>, Handshaking<SimpleHandshaker>, [closure@tests/consume.rs:39:19: 39:63]>, ChannelOpened<u16>, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/consume.rs:38:18: 38:36]>, Handshaking<SimpleHandshaker>, [closure@tests/consume.rs:39:19: 39:63]>, ChannelOpened<u16>, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::AndThen<futures::MapErr<TcpStreamNew, [closure@tests/consume.rs:38:18: 38:36]>, Handshaking<SimpleHandshaker>, [closure@tests/consume.rs:39:19: 39:63]>, ChannelOpened<u16>, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `declare_exchange`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             declare_exchange(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `name`, `is_passive`, `is_durable`, `is_exclusive`, `is_auto_delete`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `declare_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `declare_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ------------------------------- required by this bound in `QueueDeclared`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ------------------------------------- required by this bound in `QueueDeclared`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `map` exists for enum `QueueDeclared<u16, _>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/consume.rs:62:61
[INFO] [stdout]    |
[INFO] [stdout] 62 |               declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |                                                               ^^^ method cannot be called on `QueueDeclared<u16, _>` due to unsatisfied trait bounds
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/declare.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / pub enum QueueDeclared<S, E>
[INFO] [stdout] 48 | | where
[INFO] [stdout] 49 | |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout] 50 | |     E: From<Error>,
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |     Receiveing(Should<S>),
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | -
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_doesn't satisfy `QueueDeclared<u16, _>: Iterator`
[INFO] [stdout]    |   doesn't satisfy `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<u16 as futures::Stream>::Item = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Stream>::Error = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkItem = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkError = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: futures::Sink`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: futures::Stream`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `QueueDeclared<u16, _>: Iterator`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `BindQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `BindQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `queue`, `exchange`, `routing_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             bind_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/queue/bind.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `bind_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             bind_queue(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/consume.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             publish(socket, LOCAL_CHANNEL_ID, bytes, option)
[INFO] [stdout]    |             ^^^^^^^ ------  ----------------  -----  ------ supplied 4 arguments
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/basic/publish.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn publish<S>(channel_id: u16, socket: S, item: PublishItem) -> Published<S>
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `StartConsumeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `StartConsumeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `queue`, `consumer_tag`, `is_no_local`, `is_no_ack`, `is_exclusive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             start_consume(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/basic/consume.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     S: Sink<SinkItem = Frame>,
[INFO] [stdout]    |        ---------------------- required by this bound in `start_consume`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             start_consume(socket, LOCAL_CHANNEL_ID, option)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/sink/send.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Send<S: Sink> {
[INFO] [stdout]    |                    ---- required by this bound in `futures::sink::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 23 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "2989e4b23aca8dfca0de8410cf0248f3493783122ee44d78dd126054514ce3bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2989e4b23aca8dfca0de8410cf0248f3493783122ee44d78dd126054514ce3bf", kill_on_drop: false }`
[INFO] [stdout] 2989e4b23aca8dfca0de8410cf0248f3493783122ee44d78dd126054514ce3bf
